<template>
	<view>
		<view class="px-2">
			<view class="font-lg">
				{{detail.title}}
			</view>
			<view class="text-muted">{{detail.desc}}</view>
			<p-price>
				<template #newPrice>
					<text class="pprice">￥<text>{{pprice}}</text></text>
				</template>
			</p-price>
		</view>
	</view>
</template>

<script>
	export default {
		name: "base-info",
		data() {
			return {

			};
		},
		props:{
			detail:{
				type:Object | Array
			},
			pprice:{
				type:String
			}
		}
	}
</script>

<style scoped>
.pprice{
	color: rgb(244, 122, 38);
	font-weight: 900;
	font-size: 40rpx;
}
</style>